﻿@echo off
:: 后端工程启动 
set parentPath= C:\Users\Administrator\Desktop\lyd_order_v2
cd %parentPath%/auth/auth
:: 启动命令  title 程序名(自定义) && java启动项
start cmd /c "title auth && mvn spring-boot:run"

cd %parentPath%/customer/customer
start cmd /c "title customer && mvn spring-boot:run"

cd %parentPath%/eureka/eureka
start cmd /c "title eureka && mvn spring-boot:run"

cd %parentPath%/file/file
start cmd /c "title file && mvn spring-boot:run"

cd %parentPath%/food/food
start cmd /c "title food && mvn spring-boot:run"

cd %parentPath%/gateway/gateway
start cmd /c "title gateway && mvn spring-boot:run"

cd %parentPath%/log/log
start cmd /c "title log && mvn spring-boot:run"

cd %parentPath%/lyd_pay/lyd_pay
start cmd /c "title lyd_pay && mvn spring-boot:run"

cd %parentPath%/merchant/merchant
start cmd /c "title merchant && mvn spring-boot:run"

cd %parentPath%/order/order
start cmd /c "title order && mvn spring-boot:run"

cd %parentPath%/print/print
start cmd /c "title print && mvn spring-boot:run"

pause